package clf.wajl;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

import clf.wajl.activity.AnswerActivity;
import clf.wajl.activity.AskActivity;
import clf.wajl.activity.BaseActivity;
import clf.wajl.ui.AnswerPopMenu;

public class SplashActivity extends BaseActivity {

	private TextView splashTV;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);

		splashTV=findViewById(R.id.tv_splash);

		splashTV.postDelayed(new Runnable() {
			@Override
			public void run() {
				Intent intent = new Intent(SplashActivity.this, AskActivity.class);
				startActivity(intent);
				finish();
			}
		},2000);


	}
}
